/*
          实时警告接口
*/
import { Iresult } from '#/axios';
import { defHttp } from '@/utils/http/axios';

enum Api {
  save = 'RemoveWatermark/Save',
  list = '/RemoveWatermark/List',
  delete = 'RemoveWatermark',
  export = 'RemoveWatermark/Export',
}
export const savedata = (data) => defHttp.post<Iresult>({ url: Api.save, data });
export const getList = (data) => defHttp.get<Iresult>({ url: Api.list, params: data });
export const deletedata = (data) => defHttp.delete<Iresult>({ url: Api.delete, params: data });
export const exportdata = (data) => defHttp.get<Iresult>({ url: Api.export, params: data });
